import router from './router'

/** 白名单地址 */
const whiteList = ['/login']

router.beforeEach((to, from, next) => {
  if (whiteList.indexOf(to.path) !== -1) {
    next()
  }
  next()
})

router.afterEach(() => {})
